<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/blueimp-md5/1.1.0/js/md5.js"></script>
    <!--    <script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.min.js"></script>-->
</head>
<body>
ffff
<input type="button" onclick="checkmd5()"/>
<input type="text" name="pwd" />




<script type="text/javascript" >

    function checkmd5() {
        // alert("xxx");
        var password = $("pwd").val();
        //加密成md5
        // var passwd = $.md5(password);
        var passwd = rstr_md5(password);
        $._hex(password);


        alert(passwd);
    }
</script>

</body>
</html>